package com.ruoyi.module.course.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 课程对象 course
 * 
 * @author yqq
 * @date 2024-05-06
 */
public class Course extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long courseId;

    /** 课程名 */
    @Excel(name = "课程名")
    private String courseName;

    /** 课程封面 */
    @Excel(name = "课程封面")
    private String courseImage;

    /** 课程描述 */
    @Excel(name = "课程描述")
    private String courseDetail;

    /** 课程简介 */
    @Excel(name = "课程简介")
    private String courseIntro;

    /** 课程类型 */
    @Excel(name = "课程类型")
    private String courseType;

    /** 学习人数 */
    @Excel(name = "学习人数")
    private Long coursePeople;

    /** 是否免费 */
    @Excel(name = "是否免费")
    private String chargeOrNot;

    /** 收费金额 */
    @Excel(name = "收费金额")
    private BigDecimal chargeAmount;

    /** 删除标志 */
    private String delFlag;

    /** 讲师id */
    @Excel(name = "讲师id")
    private Long lecturerId;

    /** 讲师名字 */
    @Excel(name = "讲师名字")
    private String lecturerName;

    /** 讲师头像 */
    @Excel(name = "讲师头像")
    private String lecturerImage;

    /** 讲师介绍 */
    @Excel(name = "讲师介绍")
    private String lecturerDetail;

    public void setCourseId(Long courseId)
    {
        this.courseId = courseId;
    }

    public Long getCourseId()
    {
        return courseId;
    }
    public void setCourseName(String courseName)
    {
        this.courseName = courseName;
    }

    public String getCourseName()
    {
        return courseName;
    }
    public void setCourseImage(String courseImage)
    {
        this.courseImage = courseImage;
    }

    public String getCourseImage()
    {
        return courseImage;
    }
    public void setCourseDetail(String courseDetail)
    {
        this.courseDetail = courseDetail;
    }

    public String getCourseDetail()
    {
        return courseDetail;
    }
    public void setCourseIntro(String courseIntro)
    {
        this.courseIntro = courseIntro;
    }

    public String getCourseIntro()
    {
        return courseIntro;
    }
    public void setCourseType(String courseType)
    {
        this.courseType = courseType;
    }

    public String getCourseType()
    {
        return courseType;
    }
    public void setCoursePeople(Long coursePeople)
    {
        this.coursePeople = coursePeople;
    }

    public Long getCoursePeople()
    {
        return coursePeople;
    }
    public void setChargeOrNot(String chargeOrNot)
    {
        this.chargeOrNot = chargeOrNot;
    }

    public String getChargeOrNot()
    {
        return chargeOrNot;
    }
    public void setChargeAmount(BigDecimal chargeAmount)
    {
        this.chargeAmount = chargeAmount;
    }

    public BigDecimal getChargeAmount()
    {
        return chargeAmount;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }
    public void setLecturerId(Long lecturerId)
    {
        this.lecturerId = lecturerId;
    }

    public Long getLecturerId()
    {
        return lecturerId;
    }
    public void setLecturerName(String lecturerName)
    {
        this.lecturerName = lecturerName;
    }

    public String getLecturerName()
    {
        return lecturerName;
    }
    public void setLecturerImage(String lecturerImage)
    {
        this.lecturerImage = lecturerImage;
    }

    public String getLecturerImage()
    {
        return lecturerImage;
    }
    public void setLecturerDetail(String lecturerDetail)
    {
        this.lecturerDetail = lecturerDetail;
    }

    public String getLecturerDetail()
    {
        return lecturerDetail;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("courseId", getCourseId())
                .append("courseName", getCourseName())
                .append("courseImage", getCourseImage())
                .append("courseDetail", getCourseDetail())
                .append("courseIntro", getCourseIntro())
                .append("courseType", getCourseType())
                .append("coursePeople", getCoursePeople())
                .append("chargeOrNot", getChargeOrNot())
                .append("chargeAmount", getChargeAmount())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("delFlag", getDelFlag())
                .append("lecturerId", getLecturerId())
                .append("lecturerName", getLecturerName())
                .append("lecturerImage", getLecturerImage())
                .append("lecturerDetail", getLecturerDetail())
                .toString();
    }
}
